package com.enums;

public enum MapLimitType {
  LIMIT_USE(Integer.valueOf(1), "限制使用"),
  CAN_USE(Integer.valueOf(2), "只能使用");
  
  private Integer code;
  
  private String desc;
  
  MapLimitType(Integer code, String desc) {
    this.code = code;
    this.desc = desc;
  }
  
  public Integer getCode() {
    return this.code;
  }
  
  public String getDesc() {
    return this.desc;
  }
}
